[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                             TextWidth function

  DECLARATION:  TextWidth(TestString : String);

      PURPOSE:  Returns the width of a string in pixels

         UNIT:  Graph

  RESULT TYPE:  Word

      REMARKS:  The width of TextString, in pixels, is computed using
                the current font size and multiplication factor.  This
                can be used in string centering, sizing viewports, etc.

 RESTRICTIONS:  Must first be in graphics mode.

See Also: OutText OutTextXY SetTextStyle TextHeight
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson